@model dynamic
@{
	this.Layout = "~/Views/Shared/EditorTemplates/_Layout.cshtml";
}
@if (this.ViewData.ModelMetadata.IsReadOnly) {
	@this.Html.TextBox("", this.ViewData.TemplateInfo.FormattedModelValue, new { @readonly = "readonly", @class = "text-box single-line" })
} else {
	@this.Html.TextBox("", this.ViewData.TemplateInfo.FormattedModelValue, new { @class = "text-box single-line" })
}
